<?php

namespace Acme\MainBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Acme\MainBundle\Entity\PouzivatelTrieda
 *
 * @ORM\Table()
 * @ORM\Entity
 */
class PouzivatelTrieda
{
    /**
     * @var integer $id
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;
    
    /**
     * @ORM\ManyToOne(targetEntity="Trieda")
     * 
     * @var Trieda $trieda 
     */    
    private $trieda;
    
    
    /**
     * @ORM\ManyToOne(targetEntity="Pouzivatel")
     * 
     * @var Pouzivatel $pouzivatel
     */
    private $pouzivatel;

    /**
     * @var string $skolskyRok
     *
     * @ORM\Column(name="skolskyRok", type="string", length=9)
     */
    private $skolskyRok;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set skolskyRok
     *
     * @param string $skolskyRok
     */
    public function setSkolskyRok($skolskyRok)
    {
        $this->skolskyRok = $skolskyRok;
    }

    /**
     * Get skolskyRok
     *
     * @return string 
     */
    public function getSkolskyRok()
    {
        return $this->skolskyRok;
    }

    /**
     * Set trieda
     *
     * @param Acme\MainBundle\Entity\Trieda $trieda
     */
    public function setTrieda(\Acme\MainBundle\Entity\Trieda $trieda)
    {
        $this->trieda = $trieda;
    }

    /**
     * Get trieda
     *
     * @return Acme\MainBundle\Entity\Trieda 
     */
    public function getTrieda()
    {
        return $this->trieda;
    }

    /**
     * Set pouzivatel
     *
     * @param Acme\MainBundle\Entity\Pouzivatel $pouzivatel
     */
    public function setPouzivatel(\Acme\MainBundle\Entity\Pouzivatel $pouzivatel)
    {
        $this->pouzivatel = $pouzivatel;
    }

    /**
     * Get pouzivatel
     *
     * @return Acme\MainBundle\Entity\Pouzivatel 
     */
    public function getPouzivatel()
    {
        return $this->pouzivatel;
    }
}